Imaging apparatus and accessory, and method and system of the same, and medium

ABSTRACT

An imaging apparatus to which an accessory is detachably attached, said accessory including an optical member, includes a signal generation unit configured to generate a vertical synchronizing signal and output the generated vertical synchronizing signal, an imaging unit configured to accumulate charges in synchronization with the vertical synchronizing signal and output an imaging signal, a control unit configured to generate a clock signal and control data communication with the accessory based on the clock signal, a first terminal for sending the clock signal to the accessory, and a second terminal for communicating data with the accessory, in which the control unit, after the data communication via the second terminal, notifies timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after a lapse of a predetermined time while the signal level is kept at a predetermined level, and controls the accessory to drive the optical member based on the timing.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an imaging apparatus on which an accessory can be mounted and which can communicate with the accessory, and the accessory which can be mounted on the imaging apparatus.

2. Description of the Related Art

In recent years, in a lens interchangeable camera, a moving image capturing mode has begun to be added in addition to a still image capturing mode. The camera includes not only a type of observing an imaging object using an observation optical system including a reflex mirror but also a type of observing a captured image by displaying the image on a liquid crystal screen for a monitor.

Conventionally, as a system for detecting a focus during moving image capturing and during live view display, a wobbling system for slightly driving a focus lens back and forth (a wobbling operation) to detect a focus has been known in a video camera or the like. In the wobbling system, an automatic focus (AF) evaluation value is taken in while the focus lens is being slightly driven, to determine whether an object is currently in focus. Japanese Patent Application Laid-Open No. 9-284632 discusses a technique for bringing an object into focus using a wobbling system.

During moving image capturing and during preview display, actuators in an interchangeable lens are required to be continuously operated, for example, subjected to focusing and diaphragm driving. Therefore, it is important to control driving of the actuators while frequently monitoring states of the focus lens and a diaphragm. The monitoring of a state of the interchangeable lens and the driving control of each of the actuators are implemented by a communication function between the interchangeable lens and a camera body.

During preview display and during moving image capturing, information relating to the above-mentioned driving control is communicated between a lens microcomputer in the interchangeable lens and a camera microcomputer in the camera body for each frame. Therefore, necessary information is required to be timely communicated to the lens microcomputer and the camera microcomputer. As the camera and the interchangeable lens increase in performance, an amount of data to be communicated increases. Therefore, a communication performance is required to be improved. Japanese Patent Application Laid-Open No. 2009-258558 discusses a camera system including a plurality of communication systems. More specifically, it discusses performing communication using two types of communication systems, i.e., high-speed communication from a lens to a camera and low-speed communication from the camera to the lens during moving image capturing to increase communication efficiency.

During the wobbling operation, storage of charge and driving of the diaphragm for acquiring the AF evaluation value may be desirably performed while the driving of the focus lens is stopped. Because, when the storage of the charge and the driving of the diaphragm for acquiring the AF evaluation value are performed while the focus lens is being driven, the AF evaluation value varies, so that an accurate focusing result is not obtained. Therefore, the camera microcomputer is required to communicate a signal, which is synchronized with exposure of an image sensor, to the lens microcomputer to notify the lens microcomputer of a timing of the exposure of the image sensor in each frame. The camera microcomputer transmits such a signal to the lens microcomputer, so that the lens microcomputer can control a timing of the driving of the focus lens based on the timing of the exposure of the image sensor. As a result, the camera microcomputer can drive the diaphragm and acquire the AF evaluation value while the driving of the focus lens is stopped. However, in the conventional technique, a dedicated signal line is required between the camera and the lens to communicate the signal to the lens microcomputer, leading to an increase in the number of contacts.

SUMMARY OF THE INVENTION

The present invention is directed to enabling communication to notify a timing of exposure of an image sensor to a lens without requiring a contact dedicated to notify a signal that is synchronized with the exposure of the image sensor.

According to an aspect of the present invention, an imaging apparatus to which an accessory is detachably attached, said accessory including an optical member, includes a signal generation unit configured to generate a vertical synchronizing signal and output the generated vertical synchronizing signal, an imaging unit configured to accumulate charges in synchronization with the vertical synchronizing signal and output an imaging signal, a control unit configured to generate a clock signal and control data communication with the mounted accessory based on the clock signal, a first terminal for sending the clock signal to the accessory, and a second terminal for communicating data with the accessory, in which the control unit, after the data communication via the second terminal, notifies timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after a lapse of a predetermined time while the signal level is kept at a predetermined level, and controls the accessory to drive the optical member based on the timing.

Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a block diagram of a camera and an interchangeable lens.

FIG. 2 illustrates a contact unit between a camera and an interchangeable lens.

FIG. 3 illustrates a communication waveform in Busy communication.

FIG. 4 is a flowchart illustrating initial communication.

FIG. 5 illustrates communication timing in performing a wobbling operation.

FIG. 6 illustrates a communication waveform in performing a wobbling operation.

DESCRIPTION OF THE EMBODIMENTS

Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.

A first exemplary embodiment will be described. In the present exemplary embodiment, a camera capable of live view shooting and being lens interchangeable will be described as an example.

A system configuration of a camera and a lens will be described. FIG. 1 is a block diagram of an interchangeable lens 1 serving as an accessory and a camera body 9. The interchangeable lens 1 is detachably attached to the camera body 9. A focus lens 2 serving as an optical member moves in an optical axis direction, so that an object can be brought into focus. A focus motor unit 3 includes a focus motor for moving the focus lens 2 and a plurality of gear trains serving as its speed reduction mechanism. A focus driver circuit 4 drives the focus motor in the focus motor unit 3.

A diaphragm 18 adjusts the amount of light incident on an image sensor 10. A diaphragm motor unit 19 includes a diaphragm motor for driving the diaphragm 18 and a plurality of gear trains serving as a speed reduction mechanism of the diaphragm motor. A diaphragm driver circuit 20 drives the diaphragm motor unit 19. A lens microcomputer 5 that controls the interchangeable lens 1 includes a serial communication unit for communicating with the camera body 9, a timer function, a digital-to-analog conversion (DAC) function, an input/output port, and memory functions such as a read-only memory (ROM) and a random access memory (RAM). A movement amount detection unit 6 includes a small disk that rotates in synchronization with rotation of the focus motor, and a photo interrupter element, and detects an amount of rotation of the focus motor. The disk is notched at a substantially equal pitch on its circumference.

The lens microcomputer 5 controls the focus motor based on a detection result from the movement amount detection unit 6. The lens microcomputer 5 measures a time interval for each pitch of a signal from the photo interrupter element, and detects speeds of the focus motor and the focus lens 2.

A position detection unit 7 detects at which position from an infinity distance to a closest distance the focus lens 2 exists.

A configuration of the camera body 9 will be described below. A camera microcomputer 11 that controls the camera body 9 includes a serial communication unit for communicating with the lens microcomputer 5, a timer function, a DAC function, an input/output port, and memory functions such as a ROM and a RAM. An image sensor 10 includes a complementary metal-oxide semiconductor (CMOS) sensor for photoelectrically converting light that has passed through a lens serving as an optical system into a signal. An amplifier 12 electrically amplifies the signal after the photoelectric conversion by the image sensor 10. A camera signal processing circuit 14 subjects an output signal from the amplifier 12 to various types of image processing, to generate a video signal.

The camera signal processing circuit 14 generates a vertical synchronizing signal that is synchronized with a timing of exposure to the image sensor 10, and outputs the generated vertical synchronizing signal to the camera microcomputer 11. A monitor device 15 includes a liquid crystal display (LCD), and displays a video signal from the camera signal processing circuit 14. An AF evaluation value processing circuit 13 generates an AF evaluation value for focus evaluation from the output signal of the amplifier 12. The AF evaluation value processing circuit 13 includes a gate circuit and a filter for sampling only a predetermined portion of the video signal to generate the AF evaluation value. The camera microcomputer 11 makes focus adjustment and controls a time of exposure of the image sensor 10 based on an output signal of the AF evaluation value processing circuit 13.

A release switch 16 is a switch for instructing to focus and release the camera by a user of the camera body 9. The release switch 16 is configured in two stages to instruct to focus the camera by half press (SW1) and to shoot by full press (SW2). A mode changeover switch (selection unit) 17 is a switch for selecting one of a still image capturing mode and a moving image capturing mode as an image capturing mode of the camera body 9.

A contact unit 8 is used to perform communication between the camera microcomputer 11 and the lens microcomputer 5. The contact unit 8 includes a plurality of metal protrusions on the side of the camera body 9, and includes a plurality of metal pieces embedded therein to come into contact with the protrusions on the side of the interchangeable lens 1. When the interchangeable lens 1 is mounted on the camera body 9, the camera microcomputer 11 and the lens microcomputer 5 are electrically connected to communicate with each other.

FIG. 2 schematically illustrates a contact unit between the camera body 9 and the interchangeable lens 1. FIG. 2 illustrates communication terminals of the lens microcomputer 5 on its left side and communication terminals of the camera microcomputer 11 on its right side. The contact unit 8 illustrated in FIG. 1 connects the camera microcomputer 11 and the lens microcomputer 5. In the lens microcomputer 5, the communication terminal Lout is an output terminal of data from the lens microcomputer 5 by synchronous clock communication, the communication terminal Lin is an input terminal of data from the camera microcomputer 11 by synchronous clock communication, and the communication terminal Lclk is an input/output terminal of a synchronous clock signal by synchronous clock communication.

On the other hand, in the camera microcomputer 11, the communication terminal Cin is an input terminal of data from the lens microcomputer 5 by synchronous clock communication, the communication terminal Cout is an output terminal of data from the camera microcomputer 11 by synchronous clock communication, and the communication terminal Cclk is an input/output terminal of a synchronous clock signal by synchronous clock communication. A feature of the synchronous clock communication is basically synchronous communication using a reference clock, so that a communication clock rate can be relatively increased. In the present exemplary embodiment, description is made for an case where a communication system using only clock synchronization is used.

Communication during a wobbling operation will be described. A communication system between the camera and the interchangeable lens 1, which is a subject matter of the present invention, will be described below. In the present exemplary embodiment, suppose a case where a still image is captured or a case where a moving image is captured while the monitor device 15 performs preview display.

FIG. 5 illustrates a timing of communication performed when the focus lens 2 performs the wobbling operation and a timing of driving of the focus lens 2. The camera microcomputer 11 starts communication for transmitting data relating to focus lens driving control to the lens microcomputer 5 immediately after exposure of the image sensor 10 ends. In the present exemplary embodiment, 64-byte data having a fixed length is communicated. An example of the data to be communicated, a value representing a communication command is stored in the first byte of the data. A driving period is stored in the second byte of the data. The lens microcomputer 5 is required to finish driving wobbling in a period represented by information relating to the driving period. Accordingly, the driving period of the focus lens 2 in FIG. 5 is determined according to a content of the communication.

Various types of information relating to focus lens driving and diaphragm driving are included in the third byte to 62-th byte of the data. Switching information for switching between a still image capturing mode and a moving image capturing mode is stored in the 63-th byte of the data. A check sum for detecting an error is stored in the 64-th byte of the data. The lens microcomputer 5 moves, when it receives the data, the focus lens 2 by an amount of the driving of wobbling in one direction within the driving period, to stop. The data to be received from the camera microcomputer 11 includes the information relating to the driving period of the focus lens 2, as described above.

A mechanism for synchronizing communication sent at the end of exposure by the camera microcomputer 11 with driving of wobbling will be described with reference to FIG. 6. FIG. 6 is a waveform diagram illustrating signals at the communication terminals Cout, Cin, and Cclk.

The camera signal processing circuit 14 generates a vertical synchronizing signal that is synchronized with a timing of exposure of the image sensor 10, and outputs the generated vertical synchronizing signal to the camera microcomputer 11. The camera microcomputer 11 outputs a clock signal from the communication terminal Cclk based on the vertical synchronizing signal. Every time the exposure of the image sensor 10 ends, communication from the camera microcomputer 11 to the lens microcomputer 5 is performed. The lens microcomputer 5 takes in data from the camera microcomputer 11 into an internal register when a signal level at the communication terminal Cclk serving as the synchronous clock input/output terminal is changed from a low level (Lo) to a high level (Hi).

Such exchange is repeated a total of eight times (by eight bits), so that the camera microcomputer 11 and the lens microcomputer 5 store data corresponding to eight bits as 1-byte data and use the data for internal processing. Further, the exchange is repeated, so that the camera microcomputer 11 and the lens microcomputer 5 perform continuous communication of data of a total of 64 bytes.

When this continuous communication is completed, the camera microcomputer 11 keeps the signal level at the communication terminal Cclk Hi, and lowers the signal level at the communication terminal Cclk from Hi to Lo when the communication is started again at the subsequent exposure end timing. The lens microcomputer 5 monitors the signal level at the communication terminal Cclk (Lclk), and treats a timing, at which the signal level at the communication terminal Cclk (Lclk) is lowered from Hi to Lo after a predetermined time T has elapsed since the signal level at the communication terminal Cclk (Lclk) reached Hi, as a timing synchronous with exposure of the camera. The lens microcontroller 5 controls driving and stop operations of the focus lens 2 based on the synchronous timing and data relating to a driving period, which has been received from the camera microcomputer 11. When the signal level at the communication terminal Cclk (Lclk) is then switched from Lo to Hi, the lens microcomputer 5 takes in data, which the camera microcomputer 11 has sent via the communication terminal Cout, into the internal register, and performs continuous communication of data of a total of 64 bytes, similarly to the previous communication.

The predetermined time T is a time sufficiently longer than a time T1 during which the signal level at the communication terminal Cclk reaches Hi between communication corresponding to one byte and communication corresponding to the subsequent one byte during 64-byte continuous communication. T2 is time elapsed since 64-byte continuous communication ended until the subsequent continuous communication starts. The predetermined time T is set shorter than a time T2. More specifically, T1<T<T2. While the focus lens 2 is stopped from the start to the end of frame exposure in the present embodiment, the present invention is not limited to this. The focus lens 2 may be stopped at a timing of acquisition of an AF evaluation value.

Initial communication performed when the interchangeable lens 1 is mounted will be described. A setting operation performed when the interchangeable lens 1 is mounted on the camera according to the present invention will be described below. FIG. 4 is a flowchart illustrating a setting operation relating to communication of a camera system including the camera according to the present exemplary embodiment and the interchangeable lens 1.

When the interchangeable lens 1 is mounted on the camera, the processing proceeds to step S501. In step S501, initial communication is performed using Busy communication between the camera microcomputer 11 and the lens microcomputer 5.

The Busy communication will be described. FIG. 3 is a waveform diagram illustrating signals at the communication terminals Cout, Cin, and Cclk in the Busy communication.

The camera microcomputer 11 sends data to the lens microcomputer 5 via the communication terminal Cout in synchronization with a rising of a clock signal from the communication terminal Cclk. In addition, the camera microcomputer 11 receives data from the lens microcomputer 5 via the communication terminal Cin in synchronization with the rising of the clock signal from the communication terminal Cclk.

In FIG. 3, a portion where the signal level at the communication terminal Cclk is Lo for a predetermined time represents a Busy state where the lens microcomputer 5 lowers the signal level at the communication terminal Lclk to Lo, to make communication impossible. In the Busy state, the lens microcomputer 5 analyzes data received from the camera microcomputer 11, and performs processing corresponding to the analyzed data. The lens microcomputer 5 performs, when communication processing ends, processing for returning the signal level at the communication terminal Lclk to Hi. In the present exemplary embodiment, in the Busy communication, the lens microcomputer 5 provides a Busy state every time it performs 1-byte communication.

In step S502, the camera microcomputer 11 acquires a lens identification (ID) from the lens microcomputer 5 by the initial communication.

In step S503, the camera microcomputer 11 determines whether the mounted interchangeable lens 1 is compatible with a new communication system from the lens ID acquired in step S502. If the mounted interchangeable lens 1 is compatible with the new communication system (YES in step S503), the processing proceeds to step S504. If the mounted interchangeable lens 1 is not compatible with the new communication system (NO in step S503), the processing proceeds to step S506. The new communication system is a communication system that treats a change in the signal level at the communication terminal Cclk after a lapse of a predetermined time as timing synchronous with frame exposure, as described above.

In step S504, if the mounted interchangeable lens 1 is compatible with new communication system (YES in step S503) the camera microcomputer 11 notifies the lens microcomputer 5 of switching of communication. Then, the processing proceeds to step S505. In step S505, the camera microcomputer 11 starts 64-byte continuous communication. On the other hand, if the mounted interchangeable lens 1 is not compatible with the new communication system (NO in step S503), the processing proceeds to step S506. In step S506, the camera microcomputer 11 continues the Busy communication.

As described above, according to the present invention, communication for notifying the timing of exposure of the image sensor 10 from the camera microcomputer 11 to the lens microcomputer 5 can be performed without increasing the number of contacts.

While the camera microcomputer 11 notifies the lens microcomputer 5 of the synchronous timing to start the continuous communication every time the exposure to the image sensor 10 ends in the present embodiment, the notification of the synchronous timing is not limited to that performed when the exposure of the image sensor 10 ends. The camera microcomputer 11 may notify the lens microcomputer 5 of the synchronous timing in synchronization with the exposure to the image sensor 10, for example, when the exposure to the image sensor 10 starts.

While the communication system is switched immediately after the camera microcomputer 11 determines that the mounted interchangeable lens 1 is compatible with the new communication system in the initial communication in the present exemplary embodiment, the present invention is not limited to this. Only when the lens microcomputer 5 notifies the camera microcomputer 11 of an ID indicating that communication is actually performed with the new communication system in addition to an ID indicating that the mounted interchangeable lens 1 is compatible with the new communication system, for example, the camera microcomputer 11 may switch the communication system. The camera microcomputer 11 may be notified of an ID indicating that communication is actually performed with the new communication system when a large amount of data, for example, aberration information relating to the lenses, is sent to the camera microcomputer 11 from the lens microcomputer 5.

While the case where the driving of the focus lens serving as an optical member is controlled is described in the present exemplary embodiment, the present invention is not limited to this. The present invention is also applicable to driving of a neutral density (ND) filter for reducing a quantity of light entering lenses and an infrared cut filter.

A second exemplary embodiment will be described. While the lens microcomputer 5 monitors the signal level at the communication terminal Cclk (Lclk), and considers the timing at which the signal level at the communication terminal Cclk (Lclk) is first lowered from Hi to Lo after a predetermined time has elapsed since the signal level at the communication terminal Cclk (Lclk) reached Hi as a synchronous timing, the present invention is not limited to this. A timing at which the camera microcomputer 11 outputs a predetermined signal from a communication terminal Cclk in synchronization with exposure after a predetermined time has elapsed since continuous communication ended, and the lens microcomputer 5 detects the signal may be considered as a synchronous timing. For example, a timing at which a signal level at a communication terminal Cclk (Lclk) is changed immediately after it is continuously changed between Hi and Lo a predetermined number of times after a predetermined time has elapsed since the signal level reached Hi may be a synchronous timing. Thus, the lens microcomputer 5 can be prevented from erroneously detecting a timing at which the signal level at the communication terminal Cclk is changed due to noise or the like as a synchronous timing.

Other Embodiments

Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium).

While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.

This application claims priority from Japanese Patent Application No. 2010-241201 filed Oct. 27, 2010, and Japanese Patent Application No. 2011-173937 filed Aug. 9, 2011, which are hereby incorporated by reference herein in their entirety. 

What is claimed is:
 1. An imaging apparatus to which an accessory is detachably attached, said accessory including an optical member, the imaging apparatus comprising: a signal generation unit configured to generate a vertical synchronizing signal and output the generated vertical synchronizing signal; an imaging unit configured to accumulate charges in synchronization with the vertical synchronizing signal and output an imaging signal; a control unit configured to generate a clock signal and control data communication with the accessory based on the clock signal; a first terminal for sending the clock signal to the accessory; and a second terminal for communicating data with the accessory, wherein the control unit communicates with the accessory via the second terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit, and notifies timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after the control unit communicates the predetermined bytes of data and subsequently a predetermined time lapses while the signal level is kept at a predetermined level, and controls the accessory to drive the optical member based on the timing; the accessory notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the control unit does not send the clock signal.
 2. The imaging apparatus according to claim 1, wherein the control unit starts to send the clock signal in synchronization with the output of the vertical synchronizing signal.
 3. The imaging apparatus according to claim 1, wherein the control unit sends data relating to driving of the optical member by the data communication via the second terminal in synchronization with notice of the vertical synchronizing signal via the first terminal.
 4. The imaging apparatus according to claim 1 further comprising: a focus signal generation unit configured to generate a focus signal using the imaging signal, wherein the control unit controls the timing of the driving of the optical member so that the optical member is stopped during the charge accumulation of the imaging unit corresponding to the focus signal.
 5. The imaging apparatus according to claim 1, wherein the optical member includes at least one of a focus lens, a diaphragm, and a neutral density filter.
 6. An accessory that is detachably attached to an imaging apparatus, said imaging apparatus including an imaging unit configured to accumulate charges in synchronization with a vertical synchronizing signal and output an imaging signal, and wherein a control unit of the imaging apparatus communicates with the accessory via a second accessory terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit and notifies timing at which the vertical synchronizing signal is output using a clock signal, the accessory comprising: an optical member; a first accessory terminal for receiving a clock signal from the imaging apparatus; the second accessory terminal for communicating data with the imaging apparatus; and an accessory control unit configured to control data communication with the imaging apparatus based on the clock signal and control driving of the optical member based on the data received from the imaging apparatus, wherein the accessory control unit detects a signal level of the first accessory terminal, and wherein the accessory control unit controls the driving of the optical member based on data received from the imaging apparatus via the second accessory terminal in synchronization with timing of a change, after the accessory control unit communicates predetermined bytes of data and subsequently a predetermined time lapses, in the signal level of the first accessory terminal; the accessory control unit notifies a busy state, in which the data communication is impossible, by changing a signal level of the first accessory terminal and in which the imaging apparatus does not send the clock signal.
 7. The accessory according to claim 6, wherein the accessory control unit restricts, when the signal level of the first accessory terminal is changed before a lapse of the predetermined time after communicating the predetermined bytes of data, the driving of the optical member based on the timing of the change.
 8. The accessory according to claim 6, wherein the accessory control unit receives data relating to timing of the driving of the optical member via the second accessory terminal, and controls the driving of the optical member based on the data relating to the driving timing and timing at which the signal level of the first accessory terminal is changed after a lapse of the predetermined time after communicating the predetermined bytes of data.
 9. The accessory according to claim 6, wherein the accessory control unit controls the driving of the optical member based on the timing at which the signal level of the first accessory terminal is changed after a lapse of the predetermined time after communicating the predetermined bytes of data.
 10. The accessory according to claim 6, wherein the imaging apparatus includes a focus signal generation unit configured to generate a focus signal using the imaging signal, wherein the accessory control unit stops the optical member during the charge accumulation of the imaging unit corresponding to the focus signal.
 11. The accessory according to claim 6, wherein the optical member includes at least one of a focus lens, a diaphragm, and a neutral density filter.
 12. A control method of an imaging apparatus, to which an accessory is detachably attached, said imaging apparatus including a first terminal and a second terminal for communicating with the accessory, said accessory including an optical member, the control method comprising: a signal generating step of generating a vertical synchronizing signal and outputting the generated vertical synchronizing signal; an imaging step of accumulating charges in synchronization with the vertical synchronizing signal and outputting an image signal; a controlling step of generating a clock signal and controlling data communication with the accessory based on the clock signal; a sending step of sending the clock signal to the accessory via the first terminal; and a data communication step of communicating data with the accessory via the second terminal, wherein in the controlling step communicates with the accessory via the second terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit, and notifying timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after the predetermined bytes of data is communicated and subsequently a predetermined time lapses while the signal level is kept at a predetermined level, and controlling the accessory to drive the optical member based on the timing; the accessory notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the sending step does not send the clock signal.
 13. A control method of an accessory, that is detachably attached to an imaging apparatus, said accessory including an optical member, a first accessory terminal and a second accessory terminal for communicating with the imaging apparatus, said imaging apparatus including an imaging unit configured to accumulate charges in synchronization with a vertical synchronizing signal and output an imaging signal, and wherein a control unit of the imaging apparatus communicates with the accessory via the second accessory terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit and notifies timing at which the vertical synchronizing signal is output using a clock signal, the control method comprising: a receiving step of receiving a clock signal from the imaging apparatus via the first accessory terminal; a data communication step of communicating data with the imaging apparatus via the second accessory terminal; a controlling step of controlling data communication with the imaging apparatus based on the clock signal; and a drive controlling step of controlling driving the optical member based on the data received from the imaging apparatus, wherein in the controlling step, detecting a signal level of the first accessory terminal, and wherein in the drive controlling step, controlling the driving of the optical member based on data received from the imaging apparatus via the second accessory terminal in synchronization with timing of a change, after predetermined bytes of data is communicated and subsequently a predetermined time lapses, in the signal level of the first accessory terminal; the controlling step notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the control unit does not send the clock signal.
 14. A non-transitory computer-readable storage medium storing a program for a control method of an imaging apparatus, to which an accessory is detachably attached, said imaging apparatus including a first terminal and a second terminal for communicating with the accessory, said accessory including an optical member, wherein the program executes, through a computer, steps of: a signal generating step of generating a vertical synchronizing signal and outputting the generated vertical synchronizing signal; an imaging step of accumulating charges in synchronization with the vertical synchronizing signal and output an image signal; a controlling step of generating a clock signal and controlling data communication with the accessory based on the clock signal; a sending step of sending the clock signal to the accessory via the first terminal; and a data communication step of communicating data with the accessory via the second terminal, wherein in the controlling step communicating with the accessory via the second terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit, and notifying timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after the predetermined bytes of data is communicated and subsequently a predetermined time lapses while the signal level is kept at a predetermined level, and controlling the accessory to drive the optical member based on the timing; the accessory notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the sending step does not send the clock signal.
 15. A non-transitory computer-readable storage medium storing a program for a control method of an accessory, that is detachably attached to an imaging apparatus, said accessory including an optical member, a first accessory terminal and a second accessory terminal for communicating with the imaging apparatus, said imaging apparatus including an imaging unit configured to accumulate charges in synchronization with a vertical synchronizing signal and output an imaging signal, and wherein a control unit of the imaging apparatus communicates with the accessory via the second accessory terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit and notifies timing at which the vertical synchronizing signal is output using a clock signal, wherein the program executes, through a computer, steps of: a receiving step of receiving a clock signal from the imaging apparatus via the first accessory terminal; a data communication step of communicating data with the imaging apparatus via the second accessory terminal; a controlling step of controlling data communication with the imaging apparatus based on the clock signal; and a drive controlling step of controlling driving the optical member based on the data received from the imaging apparatus, wherein in the controlling step, detecting a signal level of the first accessory terminal, and wherein in the drive controlling step, controlling the driving of the optical member based on data received from the imaging apparatus via the second accessory terminal in synchronization with timing of a change, after predetermined bytes of data is communicated and subsequently a predetermined time lapses, in the signal level of the first accessory terminal; the controlling step notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the control unit does not send the clock signal.
 16. A system comprising an imaging apparatus and an accessory which is detachably attached to the imaging apparatus, the imaging apparatus comprising: a signal generation unit configured to generate a vertical synchronizing signal and output the generated vertical synchronizing signal; an imaging unit configured to accumulate charges in synchronization with the vertical synchronizing signal and output an imaging signal; a control unit configured to generate a clock signal and control data communication with the accessory based on the clock signal; a first terminal for sending the clock signal to the accessory; and a second terminal for communicating data with the accessory, the accessory comprising an optical member; a first accessory terminal for receiving the clock signal from the control unit via the first terminal; a second accessory terminal for communicating data with the control unit via the second terminal; and an accessory control unit configured to control data communication with the control unit based on the clock signal and control driving of the optical member based on the data received from the control unit, wherein the control unit communicates with the accessory via the second terminal, predetermined bytes of data in synchronization with charge accumulation by the imaging unit, and notifies timing at which the vertical synchronizing signal is output using the clock signal via the first terminal by changing a signal level of the first terminal after the control unit communicates the predetermined bytes of data and subsequently a predetermined time lapses while the signal level is kept at a predetermined level, and controls the accessory control unit to drive the optical member based on the timing; and wherein the accessory control unit controls the driving of the optical member based on data received from the control unit via the second accessory terminal in synchronization with timing of a change, after the accessory control unit communicates the predetermined bytes of data and subsequently the predetermined time lapses, in the signal level of the first accessory terminal; the accessory control unit notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the control unit of the imaging apparatus does not send the clock signal.
 17. The imaging apparatus according to claim 1, wherein the control unit controls the timing of the driving of the optical member in synchronization with the charge accumulation of the imaging unit.
 18. The accessory according to claim 6, wherein the accessory control unit controls the driving of the optical member in synchronization with the charge accumulation of the imaging unit.
 19. The imaging apparatus according to claim 1, wherein the imaging apparatus does not comprise a further terminal for sending the vertical synchronizing signal separately from the first terminal.
 20. The imaging apparatus according to claim 1, wherein the predetermined bytes of data includes data relating to driving control of the optical member.
 21. The imaging apparatus according to claim 1, wherein the predetermined time is longer than a time while the signal level of the first terminal is kept at the predetermined level between communication corresponding to one byte and communication corresponding to the subsequent one byte during the predetermined bytes of data communication via the second terminal.
 22. The imaging apparatus according to claim 1, wherein the control unit communicates with the accessory in a first communication mode and a second communication mode, and wherein in the first communication mode, the control unit sends the clock signal in synchronization with the vertical synchronizing signal.
 23. The imaging apparatus according to claim 22, wherein when the accessory is attached to the imaging apparatus, the control unit communicates with the accessory in the second communication mode and determines whether or not the accessory is compatible with the first communication mode based on data received from the accessory in the second communication mode.
 24. The accessory according to claim 6, wherein the accessory does not comprise a further terminal for receiving the vertical synchronizing signal separately from the first accessory terminal.
 25. The accessory according to claim 6, wherein the accessory control unit controls the driving of the optical member based on the predetermined bytes of data.
 26. The accessory according to claim 6, wherein the accessory control unit controls the driving of the optical member based on data received from the imaging apparatus via the second accessory terminal in synchronization with timing of a change in the signal level of the first accessory terminal after a lapse of the predetermined time while the signal level is kept at a predetermined level.
 27. The accessory according to claim 26, wherein the predetermined time is longer than a time while the signal level of the first accessory terminal is kept at the predetermined level between communication corresponding to one byte and communication corresponding to the subsequent one byte during the predetermined bytes of data communication via the second accessory terminal.
 28. The accessory according to claim 6, wherein the accessory control unit communicates with the imaging apparatus in a first communication mode and a second communication mode, and wherein in the first communication mode, the accessory control unit receives the clock signal in synchronization with the vertical synchronizing signal.
 29. The accessory according to claim 28, wherein when the accessory is attached to the imaging apparatus, the accessory control unit communicates with the imaging apparatus in the second communication mode and sends data indicating that the accessory is compatible with the first communication mode.
 30. An accessory that is detachably attached to an imaging apparatus, comprising: an optical member; a first accessory terminal for receiving a clock signal from the imaging apparatus; a second accessory terminal for communicating data with the imaging apparatus and configured to receive, predetermined bytes of data in synchronization with charge accumulation by the imaging apparatus; and an accessory control unit configured to control data communication with the imaging apparatus based on the clock signal and control driving of the optical member based on the data received from the imaging apparatus, wherein the accessory control unit detects a signal level of the first accessory terminal, wherein the accessory control unit controls the driving of the optical member based on data received from the imaging apparatus via the second accessory terminal in synchronization with timing of a change, after the accessory control unit communicates predetermined bytes of data and subsequently a predetermined time lapses, in the signal level of the first accessory terminal, and wherein the accessory control unit restricts, when the signal level of the first accessory terminal is changed before a lapse of the predetermined time after communicating the predetermined bytes of data, the driving of the optical member based on the timing of the change; the accessory control unit notifies a busy state, in which the data communication is impossible, by changing a signal level of the first terminal and in which the imaging apparatus does not send the clock signal. 